<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;" name="viewport" />
		<script src="js/rem.js" type="text/javascript" charset="utf-8"></script>
		<title>加载</title>
	</head>
	<body>
		<div style="width: 10rem;margin: 0 auto;margin-top:30%;display: flex;justify-content: center;">
			<img src="img/33@2x.png"/>
		</div>
	</body>

	<script>
        function getPar(par){
            //获取当前URL
            var local_url = document.location.href;
            //获取要取得的get参数位置
            var get = local_url.indexOf(par +"=");
            if(get == -1){
                return false;
            }
            //截取字符串
            var get_par = local_url.slice(par.length + get + 1);
            //判断截取后的字符串是否还有其他get参数
            var nextPar = get_par.indexOf("&");
            if(nextPar != -1){
                get_par = get_par.slice(0, nextPar);
            }
            return get_par;
        }
        var openid = getPar("open_id");
        alert(openid);
	</script>
</html>